package com.dks.repository;

import java.util.*;
import com.dks.models.CourseCategory;

public interface ICourseCategoryRepository {

    Integer insert(CourseCategory courseCategory);

    Integer update(CourseCategory courseCategory);

    Integer delete(Integer id);

    CourseCategory select(Integer id);

    Integer cntByMap(Map<String, Object> map);

    List<Integer> getByMap(Map<String, Object> map);

    List<CourseCategory> getByMapList(Map<String, Object> map);

    Integer updateByCode(CourseCategory courseCategory);

    CourseCategory selectByBfCode(String bfCode);
}
